<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #box{
      width: 200px;
      height: 200px;
      background-color: rgb(189, 199, 51);
      margin: 20px auto;
    }
  </style>
</head>
<body>
  <div id="app">
    <button @click="nextOne">下一个</button>
    <img v-bind:src="img1" alt="">
    <div v-bind:aa="a">div</div>
  </div>
  <script src="./vue.js"></script>
  <script>
    const vm = new Vue({
      el: '#app',
      data: {
        img1: 'http://pic1.win4000.com/wallpaper/c/5665277143e29_270_185.jpg',
        a: '你好我是a属性'
      },
      methods: {
        nextOne(){
          this.img1 = 'http://pic1.win4000.com/wallpaper/2/55fa736d5d358_270_185.jpg';
        }
      }
    })
  </script>
</body>
</html>